package com.nbcio.modules.erp.voucher.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 会计科目实体
 */
@Data
@TableName("erp_account")
public class ErpAccount {
    @TableId
    private Long accountId;
    private String accountCode;
    private String accountName;
    private Long parentId;
    private String accountType; // ASSET/LIABILITY/EQUITY/REVENUE/EXPENSE
    private String dcFlag; // DEBIT/CREDIT
    private Integer levelNum;
    private Integer isLeaf;
    private Integer status;
    private String remark;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}

